import request from '@/utils/request'


export default {

    findList() {
    return request({
      url: '/Admin/Category/findList',
      method: 'get',
    })
  },

  delete(id) {
    return request({
      url: `/Admin/Category/delete/${id}`,
      method: 'delete',
    })
  },

  addCategory(data){
    return request({
      url: `/Admin/Category/addCategory`,
      method: 'post',
      data
    })
  },
  findName_(data){
    return request({
      url: `/Admin/Category/findName`,
      method: 'post',
      data
    })
  }


}